
export type FlowProjectType = 'DataFlow';

// flow_projects
export interface FlowProject {
    id?: number;
    identifier: string;
    name: string;
    icon?: string;
    path?: string;
    projectType: FlowProjectType;
    tags?: string[];
    options?: string;
    description?: string;
    createdAt?: number;
    updatedAt?: number;
}

// flow_project_envs
export interface FlowProjectEnv {
    id?: number;
    projectIdentifier: string;
    name: string;
    value: string;
}

export const FLOW_PROJECT_TYPE_SELECT_OPTIONS = [
    { value: 'DataFlow', label: '数据流' },
];
